//
//  SIXMenuDrownView.h
//  weibo
//
//  Created by chenangel on 16/5/21.
//  Copyright © 2016年 chuhan. All rights reserved.
//

#import <UIKit/UIKit.h>

@class SIXMenuDrownView;

@protocol SIXMenuDrownViewDelegate <NSObject>
@optional
- (void)dropdownMenuDidDismiss:(SIXMenuDrownView *)menu;
- (void)dropdownMenuDidShow:(SIXMenuDrownView *)menu;
@end

@interface SIXMenuDrownView : UIView
@property (nonatomic, weak) id<SIXMenuDrownViewDelegate> delegate;

+ (instancetype)menu;
/**
 *  显示
 */
- (void)showFrom:(UIView *)from;
/**
 *  销毁
 */
- (void)dismiss;
/**
 *  内容
 */
@property (nonatomic, strong) UIView *content;
/**
 *  内容控制器
 */
@property (nonatomic, strong) UIViewController *contentController;
@end
